﻿using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

[CreateAssetMenu(fileName = "Toolbar", menuName = "Toolbar")]
public class ToolbarAsset : ScriptableObject
{
    [Header("大小控制")]
    [Range(20, 100)]
    public int iconSize = 36;

    [Header("按钮预设")]
    public Button BrandsButtonPrefab;    
    public Button RegularButtonPrefab;
    public Button SolidButtonPrefab;

    [Header("按钮信息")]
    [SerializeField]
    public List<ToolbarButtonObject> toolbarButtons;

    private void Awake()
    {
        Debug.Log("Awake");
    }

    private void OnEnable()
    {
        Debug.Log("OnEnable");
    }

    private void OnDisable()
    {
        Debug.Log("OnDisable");
    }

    private void OnDestroy()
    {
        Debug.Log("OnDestroy");
    }
}
